package com.itheima.spring.bestpractive.service;

import com.itheima.spring.bestpractive.pojo.Department;
import io.swagger.v3.oas.annotations.Operation;

import java.util.List;

/**
 * @version 1.0
 * @author: HZY
 * @date: 2025/6/27 21:43
 * @Content: 部门服务
 */
public interface DepartmentService {
    @Operation(description = "添加部门")
    public void addDepartment(List<Department>  departments);
    @Operation(description = "获取部门")
    public List<Department> getAllDepartment();
}
